Skip to content

Conversation

@davepeck
Copy link
Contributor

@davepeck davepeck commented Sep 17, 2025

Correctly handle t-string literals with whitespace in their interpolation expressions (t'{ 0}'). Correctly handle Template instances that have no t-string literal equivalent. Add tests.

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JelleZijlstra JelleZijlstra added the needs backport to 3.14 bugs and security fixes label Sep 18, 2025
@davepeck
Copy link
Contributor Author

(Is there something I should do to get this merged? Thanks!)

@JelleZijlstra JelleZijlstra merged commit 6ec058a into python:main Sep 23, 2025
51 checks passed
@miss-islington-app
Copy link

Thanks @davepeck for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 23, 2025
@bedevere-app
Copy link

bedevere-app bot commented Sep 23, 2025

GH-139272 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Sep 23, 2025
JelleZijlstra pushed a commit that referenced this pull request Oct 8, 2025
…ionlib (GH-139072) (#139272)

gh-138558: Improve handling of Template annotations in annotationlib (GH-139072)
(cherry picked from commit 6ec058a)

Co-authored-by: Dave Peck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants